/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.userwx.entity;

import com.jeeplus.modules.member.entity.Member;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 用户微信Entity
 * @author freedom
 * @version 2020-09-26
 */
public class Userwx extends DataEntity<Userwx> {
	
	private static final long serialVersionUID = 1L;
	private Member member;		// 用户
	private String name;		// 姓名
	private String wxno;		// 微信号
	private String img;		// 收款码
	
	public Userwx() {
		super();
	}

	public Userwx(String id){
		super(id);
	}

	@ExcelField(title="用户", fieldType=Member.class, value="member.loginName", align=2, sort=1)
	public Member getMember() {
		return member;
	}

	public void setMember(Member member) {
		this.member = member;
	}
	
	@ExcelField(title="姓名", align=2, sort=2)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@ExcelField(title="微信号", align=2, sort=3)
	public String getWxno() {
		return wxno;
	}

	public void setWxno(String wxno) {
		this.wxno = wxno;
	}
	
	@ExcelField(title="收款码", align=2, sort=4)
	public String getImg() {
		return img;
	}

	public void setImg(String img) {
		this.img = img;
	}
	
}